package com.demo.connectdbtest.module.tool.service;

import com.alibaba.fastjson.JSONObject;
import com.demo.connectdbtest.module.tool.vo.StatisticDeviceDataDTO;

import java.util.List;

public interface ToolService {

    //设备在线监控
    List<Object> statisticDeviceStatusMonitor(StatisticDeviceDataDTO dto);

    //服务器在线监控
    List<Object> monitorServerDevice(StatisticDeviceDataDTO dto);

    //服务在线监控
    List<Object> monitorServiceDevice(StatisticDeviceDataDTO dto);

    List<Object> monitorServiceDeviceNotMatch(StatisticDeviceDataDTO dto);

    //统计光电口启用状态
    JSONObject statisticLightEntranceEnableStatus(String deviceIp);

    //统计光电口在线离线状态
    JSONObject statisticLightEntranceOnlineStatus(String deviceIp);


    //统计node-exporter的数据
    JSONObject statisticNodeExporterTarget(String stationId, String stationCode);
}
